package Algorithms.recall;

/*
 * @Author 罗俊
 * @date 2020/10/29 - 7:56 上午
 *
 */

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 棋盘
 * */
@Data
@Accessors(chain = true)
public class HorseChessLocation {


    private Integer column; // 棋盘的列

    private Integer row; // 棋盘的行


    public HorseChessLocation(Integer column, Integer row) {
        this.column = column;
        this.row = row;
    }

    @Override
    public String toString() {
        return "[" + (column+1) + "," + (row+1) + ']';
    }
}
